package com.base2.webshop.shared.requests;

import java.util.List;


import com.base2.webshop.server.dao.ShopDetailsDao;
import com.base2.webshop.server.locators.AbstractServiceLocator;
import com.base2.webshop.shared.proxies.ShopDetailsProxy;
import com.google.gwt.requestfactory.shared.InstanceRequest;
import com.google.gwt.requestfactory.shared.Request;
import com.google.gwt.requestfactory.shared.RequestContext;
import com.google.gwt.requestfactory.shared.Service;

@Service(value = ShopDetailsDao.class, locator = AbstractServiceLocator.class)
public interface ShopDetailsRequest extends RequestContext {
	Request<List<ShopDetailsProxy>> findAllShopDetails();	

	Request<ShopDetailsProxy> findShopDetails(Long id);

	InstanceRequest<ShopDetailsProxy, Void> persist();

	InstanceRequest<ShopDetailsProxy, Void> remove();
}
